<template>
	
	<el-row>
		<el-col :span="3">
			<h3 style="width: 100%;height: 62px;text-align: center;line-height: 62px;">商城系统</h3>
			<LeftNav></LeftNav>
		</el-col>
		<el-col :span="21">
			<router-view></router-view>
		</el-col>
	</el-row>
</template>

<script setup>
	import { ElRow,ElCol,ElMenu,ElMenuItem,ElSubMenu } from 'element-plus';
	import LeftNav from "@/components/LeftNav.vue"
	import { onBeforeRouteLeave, onBeforeRouteUpdate } from 'vue-router'
	import router from '@/router';
	onBeforeRouteUpdate(async (to, from) => {
	  // console.log('onBeforeRouteUpdate')
	})
</script>

<style scoped>
	
</style>